package com.felix.aware;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.domain.AuditorAware;

import java.util.Optional;

/**
 * @description UserAuditorBean
 * @auther: xuejh
 * @date: 2018/12/5 00:00
 */
@Configuration
public class UserAuditorBean implements AuditorAware<String> {
    @Override
    public Optional<String> getCurrentAuditor() {
        return Optional.empty();
    }
}


